package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 延长呆滞时间
 * </p>
 *
 * @author Max
 * @since 2020-03-13
 */
public class DelayInactive extends Model<DelayInactive> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 外键
     */
   @TableField("Z_ITEM_TANK_BO")
   private String zItemTankBo;
    /**
     * 设备编号
     */
   @TableField("RESRCE")
   private String resrce;
    /**
     * 设备描述
     */
   @TableField("RESRCE_DESC")
   private String resrceDesc;
    /**
     * 增加时长
     */
   @TableField("DELAY_TIME")
   private Integer delayTime;
   /**
     * 放行原因
     */
   @TableField("REASON")
   private String reason;
   /**
    * 创建人
    */
   @TableField("CREATOR")
   private String creator;
   /**
    * 修改人
    */
   @TableField("UPDATER")
   private String updater;
   /**
     * 进罐时间
     */
   @TableField("CHECKIN_TIME")
   private Date checkinTime;
    /**
     * 出罐时间
     */
   @TableField("CHECKOUT_TIME")
   private Date checkoutTime;
    /**
     * 创建日期
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
    /**
     * 更新日期
     */
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getzItemTankBo() {
      return zItemTankBo;
   }

   public void setzItemTankBo(String zItemTankBo) {
      this.zItemTankBo = zItemTankBo;
   }

   public String getResrce() {
      return resrce;
   }

   public void setResrce(String resrce) {
      this.resrce = resrce;
   }

   public String getResrceDesc() {
      return resrceDesc;
   }

   public void setResrceDesc(String resrceDesc) {
      this.resrceDesc = resrceDesc;
   }

   public Integer getDelayTime() {
      return delayTime;
   }

   public void setDelayTime(Integer delayTime) {
      this.delayTime = delayTime;
   }

   public String getReason() {
      return reason;
   }

   public void setReason(String reason) {
      this.reason = reason;
   }

   public Date getCheckinTime() {
      return checkinTime;
   }

   public void setCheckinTime(Date checkinTime) {
      this.checkinTime = checkinTime;
   }

   public Date getCheckoutTime() {
      return checkoutTime;
   }

   public void setCheckoutTime(Date checkoutTime) {
      this.checkoutTime = checkoutTime;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String Z_ITEM_TANK = "Z_ITEM_TANK";

   public static final String RESRCE = "RESRCE";

   public static final String RESRCE_DESC = "RESRCE_DESC";

   public static final String DELAY_TIME = "DELAY_TIME";

   public static final String REASON = "REASON";

   public static final String CHECKIN_TIME = "CHECKIN_TIME";

   public static final String CHECKOUT_TIME = "CHECKOUT_TIME";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "DelayInactive{" +
         "handle = " + handle +
         ", zItemTank = " + zItemTankBo +
         ", resrce = " + resrce +
         ", resrceDesc = " + resrceDesc +
         ", delayTime = " + delayTime +
         ", reason = " + reason +
         ", checkinTime = " + checkinTime +
         ", checkoutTime = " + checkoutTime +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}